package fr.ema.arch3d.ref.interceptors.asm;

import java.lang.reflect.Method;

import org.objectweb.fractal.julia.asm.SimpleCodeGenerator;

public class StateTraceCodeGenerator extends SimpleCodeGenerator {
	
		  
		  protected String getControllerInterfaceName () {
		    return "stateTrace-controller";
		  }

		  protected String getPreMethodName () {
		    return "preMethod";
		  }

		  protected String getPostMethodName () {
		    return "postMethod";
		  }

		  protected Class getContextType () {
		    return Void.TYPE;
		  }

		  protected String getMethodName (Method m) {
		    return m.getName();
		  }
		  protected boolean needsInterfaceName () {
			    return true;
			  }
		  protected boolean needsTargetObject () {
			    return true;
			  }

}
